import Vue from 'vue'
import App from './App.vue'

// 引入 Element
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false


import VueRouter from 'vue-router'


import router from './router'


import axios from"@/utils/request";
Vue.prototype.$axios = axios



import store from './vuex/store'

Vue.use(VueRouter)

Vue.use(ElementUI);

new Vue({
  el : '#app',

  router : router,
  store,
  render : h => h(App),
  beforeCreate(){
    Vue.prototype.$bus = this
  }
})

